UPDATE C1_WF_VARIABLE SET END_DATE = SYSDATE, DATA_STATE_CODE = '0' WHERE
INSTR(','||:wfVariableIds||',', ','||WF_VARIABLE_ID||',') > 0